package git.soulbgm.controller;

import git.soulbgm.pojo.User;
import git.soulbgm.service.remote.TestService;
import git.soulbgm.service.remote.TestService2;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author 贺瑞杰
 * @version V1.0
 * @date 2019-04-02 11:05
 * @description
 */
@RestController
public class Test2Controller {

    @Resource
    private TestService2 testService2;

    @RequestMapping("helloUser")
    public String helloUser(User user) {
        return testService2.helloUser(user);

    }

}
